<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      Speex-1.2.0
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="soundtouch.html" title=
          "SoundTouch-2.1.0">Prev</a>
          <p>
            SoundTouch-2.1.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="taglib.html" title="Taglib-1.11.1">Next</a>
          <p>
            Taglib-1.11.1
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="speex" name="speex"></a>Speex-1.2.0
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Speex
        </h2>
        <p>
          <span class="application">Speex</span> is an audio compression
          format designed especially for speech. It is well-adapted to
          internet applications and provides useful features that are not
          present in most other CODECs.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://downloads.xiph.org/releases/speex/speex-1.2.0.tar.gz">
                https://downloads.xiph.org/releases/speex/speex-1.2.0.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 8ab7bb2589110dfaf0ed7fa7757dc49c
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 884 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 4.5 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Additional Downloads
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://downloads.xiph.org/releases/speex/speexdsp-1.2.0.tar.gz">
                https://downloads.xiph.org/releases/speex/speexdsp-1.2.0.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: b722df341576dc185d897131321008fc
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 900 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 5.2 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Speex Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="libogg.html" title=
          "libogg-1.3.4">libogg-1.3.4</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../general/valgrind.html" title=
          "Valgrind-3.15.0">Valgrind-3.15.0</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/speex">http://wiki.linuxfromscratch.org/blfs/wiki/speex</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Speex
        </h2>
        <p>
          This package consists of two separate tarballs. They need to be
          extracted and built independently.
        </p>
        <p>
          Install <span class="application">Speex</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr    \
            --disable-static \
            --docdir=/usr/share/doc/speex-1.2.0 &amp;&amp;
make</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          As the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
        <p>
          Now extract and install the speexdsp package:
        </p>
        <pre class="userinput">
<kbd class="command">cd ..                          &amp;&amp;
tar -xf speexdsp-1.2.0.tar.gz &amp;&amp;
cd speexdsp-1.2.0             &amp;&amp;

./configure --prefix=/usr    \
            --disable-static \
            --docdir=/usr/share/doc/speexdsp-1.2.0 &amp;&amp;
make</kbd>
</pre>
        <p>
          Again, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--disable-static</code></em>: This
          switch prevents installation of static versions of the libraries.
        </p>
        <p>
          <code class="option">--enable-binaries</code>: Builds two binaries
          to encode and decode to and from the speex format.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">(optional) speexenc and speexdec</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libspeex.so and libspeexdsp.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/speex and
              /usr/share/doc/speex-1.2.0</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="speexdec" name="speexdec"></a><span class=
                    "term"><span class=
                    "command"><strong>speexdec</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    decodes a <span class="application">Speex</span> file and
                    produces a WAV or raw file.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="speexenc" name="speexenc"></a><span class=
                    "term"><span class=
                    "command"><strong>speexenc</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    encodes a WAV or raw files using <span class=
                    "application">Speex</span>.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libspeex" name="libspeex"></a><span class=
                    "term"><code class="filename">libspeex.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides functions for the audio encoding/decoding
                    programs.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libspeexdsp" name="libspeexdsp"></a><span class=
                    "term"><code class=
                    "filename">libspeexdsp.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a speech processing library that goes along with the
                    <span class="application">Speex</span> codec.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-03-09 10:02:12 -0500
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="soundtouch.html" title=
          "SoundTouch-2.1.0">Prev</a>
          <p>
            SoundTouch-2.1.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="taglib.html" title="Taglib-1.11.1">Next</a>
          <p>
            Taglib-1.11.1
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
